package com.tourism.website.collection.config;

import com.tourismwebsite.config.swagger.SwaggerCore;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.spring.web.plugins.Docket;
import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc;


@Configuration
@EnableSwagger2WebMvc
public class swaggerConfig {

    @Bean
    Docket DepartmentApis() {
        return SwaggerCore.defaultDocketBuilder("收藏管理模块","com.tourism.website.collection.controller","collection");
}


}
